package com.ruoyi.api.domain.recipe;

import com.ruoyi.recipe.domain.RecipeDishItem;
import com.ruoyi.recipe.domain.RecipeDishStep;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

public class DishDetailEntity {

    private static final long serialVersionUID = 1L;

    /** 食谱ID */
    private Long dishId;

    /** 菜品名称 */
    private String dishName;

    /** 菜品标题 */
    private String dishTitle;

    /** 是否被收藏 */
    private boolean isCollect;

    /** 食谱描述 */
    private String dishContent;

    /** 作者 */
    private String author;

    private List<RecipeDishItem> zhuLiao;

    private List<RecipeDishItem> fuLiao;

    private List<RecipeDishStep> buZhou;

    private List<DishMealEntity> fuShi;

    public void setDishId(Long dishId)
    {
        this.dishId = dishId;
    }

    public Long getDishId()
    {
        return dishId;
    }

    public String getDishName() {
        return dishName;
    }

    public void setDishName(String dishName) {
        this.dishName = dishName;
    }

    public String getDishTitle() {
        return dishTitle;
    }

    public void setDishTitle(String dishTitle) {
        this.dishTitle = dishTitle;
    }

    public boolean getIsCollect() {
        return isCollect;
    }

    public void setIsCollect(boolean isCollect) {
        this.isCollect = isCollect;
    }

    public void setDishContent(String dishContent)
    {
        this.dishContent = dishContent;
    }

    public String getDishContent()
    {
        return dishContent;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public List<RecipeDishItem> getZhuLiao() {
        return zhuLiao;
    }

    public void setZhuLiao(List<RecipeDishItem> zhuLiao) {
        this.zhuLiao = zhuLiao;
    }

    public List<RecipeDishItem> getFuLiao() {
        return fuLiao;
    }

    public void setFuLiao(List<RecipeDishItem> fuLiao) {
        this.fuLiao = fuLiao;
    }

    public List<RecipeDishStep> getBuZhou() {
        return buZhou;
    }

    public void setBuZhou(List<RecipeDishStep> buZhou) {
        this.buZhou = buZhou;
    }

    public List<DishMealEntity> getFuShi() {
        return fuShi;
    }

    public void setFuShi(List<DishMealEntity> fuShi) {
        this.fuShi = fuShi;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("dishId", getDishId())
                .append("isCollect", getIsCollect())
                .append("dishContent", getDishContent())
                .append("author", getAuthor())
                .append("zhuLiao", getZhuLiao())
                .append("fuLiao", getFuLiao())
                .append("buZhou", getBuZhou())
                .append("fuShi", getFuShi())
                .toString();
    }
}
